package com.project.mall.service;

import com.project.mall.mapper.MapperZ;
import com.project.mall.pojo.Comment;
import com.project.mall.pojo.Goods;
import com.project.mall.pojo.Phoneparamters;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ServiceImplZ implements ServiceZ {

    @Resource
    private MapperZ mapper;

    @Override
    public List<Goods> getGoodsList() {
        return mapper.getGoodsList();
    }

    @Override
    public List<Phoneparamters> getGoods(long paramid) {
        return mapper.getGoods(paramid);
    }

    @Override
    public List<Comment> getComments(int gid) {
        return mapper.getComments(gid);
    }

}